home *** CD-ROM | disk | FTP | other *** search
/ Personal Computer World 2008 February / PCWFEB08.iso / Software / Freeware / Miro 1.0 / Miro_Installer.exe / resources / templates / download-item-thumbnail < prev    next >
Encoding:
Extensible Markup Language  |  2007-11-12  |  1.9 KB  |  40 lines

  1. <?xml version="1.0" encoding="utf-8"?>
  2. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
  3. <html xmlns="http://www.w3.org/1999/xhtml"
  4.       xmlns:t="http://www.participatorypolitics.org/"
  5.       xmlns:i18n="http://www.participatoryculture.org/i18n"
  6.       eventCookie="@@@eventCookie@@@" dtvPlatform="@@@dtvPlatform@@@">
  7. <head>
  8.     <meta http-equiv="content-type" content="text/html; charset=utf-8" />        
  9. </head>
  10. <body>
  11.     <img class="main-video-tnail" src="***this.getThumbnail()***" alt="" id="video-tnail-***viewName + str(this.getID())***" />
  12.  
  13.     <div class="main-video-hitbox">
  14.         <a t:showIf="this.isDownloadable()"
  15.             class="icon download" href="#"
  16.             title="Download '***this.getTitle()***'"
  17.             onclick="return eventURL('action:startDownload?item=@@@this.getID()@@@');"  />
  18.         <a t:showIf="this.getState() == 'paused'"
  19.             class="icon paused-circle" href="#"
  20.             title="Download '***this.getTitle()***'"
  21.             onclick="return eventURL('action:startDownload?item=@@@this.getID()@@@');"  />
  22.         <span t:showIf="this.getState() == 'downloading'"
  23.             class="icon inprogress-background" >
  24.             <img t:hideIf="this.isPendingManualDownload()"
  25.                 class="inprogress-arrows"
  26.                 title="Downloading '***this.getTitle()***'"
  27.                 src="resource:images/main-video-inprogress-arrows.gif" />
  28.             <img t:showIf="this.isPendingManualDownload()"
  29.                 class="download-pending-icon"
  30.                 title="Download Pending for '***this.getTitle()***'"
  31.                 src="resource:images/download-pending-dot.png" />
  32.         </span>
  33.         <a t:showIf="this.isPlayable()"
  34.             class="icon play" href="#"
  35.             title="Play '***this.getTitle()***'"
  36.             onclick="return eventURL('action:playViewNamed?viewName=@@@viewName@@@&firstItemId=@@@this.getID()@@@');" />
  37.     </div>
  38. </body>
  39. </html>
  40.